package com.ed.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ed.domain.Response;
import com.ed.vo.ResponseQAVo;
import com.ed.vo.UserResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IResponseMapper extends BaseMapper<Response> {

    List<ResponseQAVo> selectQO(@Param("tableName") String tableName, @Param("responseId") Integer responseId);

    List<UserResponseVo> selectUserResponses();

}
